﻿using System;
using System.Collections.Generic;
using System.Text;

namespace IceDog.DNL.CSharp.DesignPattern.MediatorPattern.IMChatRoom
{
    public class User
    {
        public string Name { get; set; }
        
        public User(string name)
        {
            Name = name;
        }
        public void SendMessage(String message)
        {
            ChatRoom.ShowMessage(this, message);
        }
    }
}
